from random import randint
random_int = randint(1, 100)  # 生成1到100之间的随机整数